package cn.gson.springboot.model.pojos;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.*;


/**
 * The persistent class for the section database table.
 * 
 */
@Entity
@NamedQuery(name="Section.findAll", query="SELECT s FROM Section s")
public class Section implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="section_id")
	private int sectionId;

	@Column(name="section_name")
	private String sectionName;
	
	@Column(name="section_price")
	private BigDecimal sectionPrice;
	
	@Column(name="section_type")
	private String sectionType;
	

	public Section() {
	}

	public int getSectionId() {
		return this.sectionId;
	}

	public void setSectionId(int sectionId) {
		this.sectionId = sectionId;
	}

	public String getSectionName() {
		return this.sectionName;
	}

	public void setSectionName(String sectionName) {
		this.sectionName = sectionName;
	}

	public BigDecimal getSectionPrice() {
		return sectionPrice;
	}

	public void setSectionPrice(BigDecimal sectionPrice) {
		this.sectionPrice = sectionPrice;
	}

	public String getSectionType() {
		return sectionType;
	}

	public void setSectionType(String sectionType) {
		this.sectionType = sectionType;
	}

}